<?php
	$server = "localhost";
	$database = "tcc";
	$user = "root";
	$pass = "";
	mysql_connect($server,$user,$pass) or die('erro:'.mysql_error());
	mysql_select_db($database) or die('erro');	
?>